<!DOCTYPE html>
<html >
<head>
    <meta charset='UTF-8'>
    <title>异常邮件模板</title>
    <style>
        .myemail table{
            margin:20px auto;
            width: 100%;
            border-collapse: collapse;
            border:1px solid #ccc;
        }
        .myemail thead tr{
            background: #f0f0f0;
            color: #333;
        }
        .myemail tr{
            line-height: 30px;
            font-size: 14px;

        }
        .myemail tr td:first-child{
            width:90px;
            padding: 0 10px;
            color: #999;
        }
        .myemail tr td:last-child{
            padding: 0 10px;
            color: #333333;
        }
        .myemail caption{
            width: 100%;
            color: red;
            margin-bottom: 10px;
        }

         .myfooter{
            margin-top: 30px;

        }
        .myfooter .description{
            font-size: 14px;
            color:#aaa;
        }
        .myfooter .author{
            margin-top: 6px;
            font-size: 14px;
            color:#aaa;
        }
    </style>
</head>
<body>

<div class="myemail">
    <div>
        <table border="1">
            <caption style='margin-bottom: 10px;'>请求信息</caption>
            <thead>
            <tr >
                <th >参数名</th>
                <th >参数值</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>请求地址</td>
                <td><a href='#{requestUrl}'>#{requestUrl}</a></td>
            </tr>
            <tr>
                <td>请求方法</td>
                <td>#{requestMethod}</td>
            </tr>
            <tr>
                <td>请求参数</td>
                <td>#{requestParams}</td>
            </tr>
            <tr>
                <td>请求头</td>
                <td>#{requestHeaders}</td>
            </tr>
            <tr>
                <td>操作用户</td>
                <td>#{currentLoginUser}</td>
            </tr>
            <tr>
                <td>请求IP</td>
                <td>#{requestAddress}</td>
            </tr>
            <tr>
                <td>请求时间</td>
                <td>#{date}</td>
            </tr>
            </tbody>
        </table>
    </div>

    <div>
        <table  border="1">
            <caption >响应信息</caption>
            <thead>
            <tr >
                <th >参数名</th>
                <th >参数值</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>返回状态码</td>
                <td>#{responseStatus}</td>
            </tr>
            <tr>
                <td>返回消息</td>
                <td>#{responseMessage}</td>
            </tr>
            <tr>
                <td>错误详细</td>
                <td>#{content}</td>
            </tr>
            <tr>
                <td>错误堆栈</td>
                <td>#{stackTrace}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>

<div class="myfooter">
    <div class="description">此邮件为系统邮件，请勿回复</div>
    <div class="author">开发者：重庆埃默科技有限责任公司</div>
</div>
</body>
</html>
